package ee.siimoliver.chat.controllers;

import java.io.IOException;
import java.util.ArrayList;

import ee.siimoliver.chat.server.ChatMate;

public interface ChatSessionController {

	public void attachOutputController(ChatOutputController outputConroller);
	
	public ChatOutputController getOutputController();
	
	public ArrayList<ChatMate> getChatmates();
	
	public boolean hasChatmate(ChatMate chatmate);
	
	public void addChatmate(String chatmateName, String ipPort);
	
	public boolean removeChatmate(ChatMate chatmate);

	public void sendAction(String input) throws IOException;
	
	public String getSessionName();

}
